layui.define(['http', 'apiClinic'], function (exports) {
        var http = layui.http.service,
            api = layui.apiClinic;

        var clinicServices = {
            /**
             * @author: ares
             * @date: 2021/3/8 20:21
             * @description: 查询最近一次病历信息
             * @param {string}emrId
             * @param {string}diseaseId
             * @returns {Promise.<TResult>}
             */
            getLatelyDiseaseInfoService: function (emrId, diseaseId) {
                var params = {
                    emrId: emrId,
                    diseaseId: diseaseId,
                };
                return http(api.getLatelyDiseaseInfo, {params: params});
            },

        }

        exports("clinicServices", clinicServices);
    }
)